{% load static %}
<link rel="stylesheet" href="{% static 'site/common/nav.css' %}">
<nav class="navbar navbar-expand-lg navbar-light bg-white rounded shadow-sm mb-4">
    <div class="container-fluid">
        <a class="navbar-brand" href="/">
            <i class="bi bi-images"></i> DX Booru
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav me-auto">
                <li class="nav-item">
                    <a class="nav-link" href="/">首页</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/images/">图片列表</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/search/">高级搜索</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/random/">随机图片</a>
                </li>
            </ul>
            <ul class="navbar-nav" id="auth-nav">
                <!-- 这里的内容将通过JavaScript动态加载 -->
                <li class="nav-item">
                    <div class="nav-link">加载中...</div>
                </li>
            </ul>
        </div>
    </div>
</nav>

<script src="{% static 'site/profile/nav.js' %}"></script>